package com.fc.v2.controller.admin.app;

import java.util.HashMap;
import java.util.Map;

import com.fc.v2.service.SpiderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/ApiController")
public class ApiController {
	@Autowired
	SpiderService spiderService;

	@GetMapping("/test")
	public Object test() {
		spiderService.getDevelopeList();
		Map<String, String> map=new HashMap<String, String>();
		map.put("a", "1");
		map.put("b", "2");
		map.put("c", "3");
		return map;
		
	}

}
